home *** CD-ROM | disk | FTP | other *** search
/ The Ultimate Frank Lloyd…ght - America's Architect / Ultimate Frank Lloyd Wright, The - America's Architect (1994)(Microsoft Home).iso / pre / flw / flwlt04.dir / 00022_Script_22 < prev    next >
Text File  |  1994-11-15  |  5KB  |  201 lines

  1. on startMovie
  2.   global inFrame, nowFrame, nowMovie, currWorld, realWorld, currMM
  3.   global lastFrame, dialogOn, jmpFrame, nextLT, prevLT
  4.   cursor 4
  5.   set prevLT = "FLWLT03"
  6.   set nextLT = "FLWLT05"
  7.   set dialogOn = FALSE
  8.   set currMM = "FLWMM"
  9.   set nowFrame = "ltear882000°°°"
  10.   set inFrame = ""
  11.   puppetsprite 9, TRUE
  12.   puppetSprite 11, TRUE
  13.   puppetSprite 12, TRUE
  14.   set the immediate of sprite 11 to TRUE
  15.   set the immediate of sprite 12 to TRUE
  16.   puppetSprite 20, TRUE
  17.   puppetSprite 21, TRUE
  18.   puppetSprite 22, TRUE
  19.   puppetSprite 23, TRUE
  20.   set the immediate of sprite 20 to TRUE
  21.   set the immediate of sprite 23 to TRUE
  22. end startMovie
  23.  
  24. on stepMovie
  25.   global nowFrame,currFrame
  26.   if nowFrame <> currFrame then
  27.     seeAlsoList
  28.     set currFrame = nowFrame
  29.   end if
  30. end stepMovie
  31.  
  32. on stopMovie
  33.   put " " into field "seeAlsoText"
  34.   set the castNum of sprite 21 to 1050
  35.   puppetSprite 21, FALSE
  36.   updateStage
  37. end stopMovie
  38.  
  39. on saveLocals
  40.   global lastFrame, nowFrame, lastMovie, origLocH
  41.   set lastMovie = the movie
  42.   set lastFrame = nowFrame
  43. end saveLocals
  44.  
  45. on ltForStep
  46.   global inFrame, nextLT, ltQT
  47.   puppetSprite 4, FALSE
  48.   set ltQT = FALSE
  49.   set inFrame = ""
  50.   if the frame = 10 then
  51.     go to  frame "ltear887001°°°" of movie nextLT
  52.   else
  53.     go to marker (+1)
  54.     updateStage
  55.   end if
  56. end ltForStep
  57.  
  58. on ltBackStep
  59.   global inFrame, prevLT, ltQT
  60.   puppetSprite 4, FALSE
  61.   set ltQT = FALSE
  62.   set inFrame = ""
  63.   if the frame < 5 then
  64.     
  65.     go to frame "ltear877005°°°" of movie prevLT
  66.   else
  67.     go to marker (-1)
  68.     updateStage
  69.   end if
  70. end ltBackStep
  71.  
  72. on checkNav
  73.   if rollover(12) then
  74.     set the castNum of sprite 12 to the number of cast "leftUp"
  75.   else
  76.     set the castNum of sprite 12 to the number of cast "leftRt"
  77.   end if
  78.   
  79.   if rollover(11) then
  80.     set the castNum of sprite 11 to the number of cast "rightUp"
  81.   else
  82.     set the castNum of sprite 11 to the number of cast "rightRt"
  83.   end if
  84.   cursor -1
  85.   updateStage
  86. end checkNav
  87.  
  88. on buttonState
  89.   global FrankNav, bflag, nowFrame, noTx, dialogOn
  90.   
  91.   if dialogOn = FALSE then
  92.     
  93.     --sticking local call here for convenience
  94.     worldLite
  95.     if the mouseV > 200 or bFlag = TRUE then
  96.       set bFlag = FALSE
  97.       doState
  98.     end if
  99.   end if
  100. end buttonState
  101.  
  102. on scrollRight
  103.   if the clickon = 11 then
  104.     sound stop 1
  105.     startTimer
  106.     repeat while the timer < 2
  107.       set the castNum of sprite 11 to the number of cast "rightDn"
  108.       updateStage
  109.     end repeat
  110.     timeRight
  111.     flush
  112.   end if   
  113. end scrollRight
  114.  
  115. on scrollLeft
  116.   if the clickon = 12 then
  117.     sound stop 1
  118.     startTimer
  119.     repeat while the timer < 2
  120.       set the castNum of sprite 12 to the number of cast "leftDn"
  121.       updateStage
  122.     end repeat
  123.     timeLeft
  124.     flush
  125.   end if  
  126. end scrollLeft
  127.  
  128. on timeLeft
  129.   global prevLt
  130.   puppetSprite 4, FALSE
  131.   
  132.   go to movie prevLT
  133. end timeLeft
  134.  
  135. on timeRight
  136.   global nextLt
  137.   puppetSprite 4, FALSE
  138.   
  139.   go to movie nextLT
  140. end timeRight
  141.  
  142. on worldLite
  143.   set the castNum of sprite 9 to 2
  144.   if rollover(9) then
  145.     set the castNum of sprite 9 to 21
  146.   end if
  147. end worldLite
  148.  
  149. on jumpVLB4
  150.   global dialogOn
  151.   if dialogOn = FALSE then
  152.     sound stop 1
  153.     if the clickOn < 7 or the clickOn > 23 then
  154.       if the mouseH >168 and the mouseH < 290 and the mouseV > 142 and the mouseV < 225 then
  155.         puppetSprite 4, FALSE
  156.         go to frame "ltear882001°°°"
  157.       else if the mouseH > 292 and the mouseH < 409 and the mouseV > 104 and the mouseV < 198 then
  158.         puppetSprite 4, FALSE
  159.         go to frame "ltear882002°°°"
  160.       else if the mouseH > 410 and the mouseH < 519 and the mouseV > 130 and the mouseV < 225 then
  161.         puppetSprite 4, FALSE
  162.         go to frame "ltear882003°°°"
  163.       else if the mouseH > 512 and the mouseH < 618 and the mouseV > 75 and the mouseV < 164 then
  164.         puppetSprite 4, FALSE
  165.         go to frame "ltear882004°°°"
  166.       else 
  167.         nothing
  168.       end if
  169.     end if
  170.   end if  
  171.   flush
  172. end jumpVLB4
  173.  
  174. on rollVLB4
  175.   if the mouseH >168 and the mouseH < 290 and the mouseV > 142 and the mouseV < 225 then
  176.     set the castNum of sprite 4 to 7
  177.     if the mouseDown then 
  178.       set the castNum of sprite 4 to 4
  179.     end if
  180.   else if the mouseH > 292 and the mouseH < 409 and the mouseV > 104 and the mouseV < 198 then
  181.     set the castNum of sprite 4 to 8
  182.     if the mouseDown then 
  183.       set the castNum of sprite 4 to 4
  184.     end if
  185.   else if the mouseH > 410 and the mouseH < 519 and the mouseV > 130 and the mouseV < 225 then
  186.     set the castNum of sprite 4 to 9
  187.     if the mouseDown then 
  188.       set the castNum of sprite 4 to 4
  189.     end if
  190.   else if the mouseH > 512 and the mouseH < 618 and the mouseV > 75 and the mouseV < 164 then
  191.     set the castNum of sprite 4 to 10
  192.     if the mouseDown then 
  193.       set the castNum of sprite 4 to 4
  194.     end if
  195.   else 
  196.     set the castNum of sprite 4 to 4
  197.   end if
  198.   updateStage
  199. end rollVLB4
  200.  
  201.